package com.hex.ds.hdrs.period.task.dto.depend;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class EdgeDataDto {

    public EdgeDataDto(String target,String source){
        this.id = source+"+"+target;
        this.source = source;
        this.target = target;
    }

    /**
     * 边的唯一标识
     */
    private String id;

    private String shape = "edge";

    private String source;

    private String target;

}

